{% set setting = {title:'个人资料',beforeLink:['/css/plugins/chosen/chosen.css']} %} {% include "../_partial/head.html" with setting %}
<link href="{{basePath}}/css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="{{basePath}}/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<style>
    input {
        text-align: center;
    }
    .permission-content .btn {
        width: 100px;
        font-size:12px;
        line-height: 20px;
        padding:10px;
        margin:5px 10px;
    }
    .permission-title {
        font-size:14px;
        font-weight:bold;
        line-height: 42px;
    }
    .permission-content {
        border-left: 1px solid #888888;
    }
    #userPermission>li {
        border:1px solid #888888;
    }
    #userPermission>li+li{
        border-top:0 none;
    }
    .btn-init {
        border-color: #cacaca;
        background-color: #cacaca;
        color:#ffffff;
    }
    .btn-init:hover {
        color:#ffffff;
    }
    .btn-checked {
        background-color:#18a689;
        color: #FFFFFF;
    }
    .btn-checked:hover {
        color: #FFFFFF;
    }
</style>
<body class="gray-bg">
<div class="wrapper animated fadeInRight">
    <div class="row">
        <div class="ibox float-e-margins">
            <form class="form-horizontal m-t" id="updatePersonalInfo">
                <input type="hidden" name="id">
                <div class="ibox-title">
                    <h5>权限配置</h5>
                </div>
                <div class="ibox-content">
                    <div class="clearfix">
                        <div class="col-sm-5">
                            <label class="col-sm-4 control-label">部门：</label>
                            <div class="col-sm-6">
                                <select name="departId" style="width:100%;" id="department"></select>
                            </div>
                        </div>
                        <div class="col-sm-5">
                            <label class="col-sm-4 control-label">职位：</label>
                            <div class="col-sm-6">
                                <select name="roleId" style="width:100%;" id="roleName">
                                    <option value>请选择...</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="ibox-title">
                    <h5>菜单权限</h5>
                </div>
                <ul class="ibox-content clearfix" id="userPermission"></ul>
            </form>
        </div>
    </div>
</div>
</body>
{% include "../_partial/foot.html" %}
<script src="{{basePath}}/plugins/validate/jquery.validate.min.js"></script>
<script src="{{basePath}}/plugins/validate/messages_zh.min.js"></script>
<script src="{{basePath}}/plugins/jquery.form.min.js"></script>
<script src="{{basePath}}/plugins/chosen/chosen.jquery.js"></script>
<script src="{{basePath}}/js/basicInfo/permission.js"></script>
</html>